<!doctype html>
<html>
    <head>
        <Title>Ominian</title>
        <!-- TODO figure out if Orbited is smart enough eTag this, alt. should be able to move to the CDN -->
        <script src="/static/Orbited.js"></script>
        <script>                
            TCPSocket = Orbited.TCPSocket;
        </script>        
        <script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script>        
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
        <script>jQuery.noConflict();</script>
        <script src="/WM/extjs/adapter/prototype/ext-prototype-adapter.js"></script>
        <script src="/WM/extjs/ext-all.js"></script>
        <script src="/WM/signal.js" type="text/javascript"  ></script>  <!-- don't trust Orbited to get the MIME type right -->
        
        <link href="/WM/extjs/resources/css/ext-all.css" type="text/css"  rel="stylesheet" />
    </head>
    <body>
        <!-- Loading mask and image -->
        <div id="loading-mask" style="width:100%; height:100%; background:#c3daf9; position :absolute; z-index:-20000;left:0;top:0;">
            &nbsp;
        </div>

        <div id="loading">
            <div class="loading-indicator" align="absmiddle">                
                &nbsp;Loading
            </div>
        </div>
        
    </body>
    <script>
    //Very aware its bad form to put this here, but body is going to get nuked soon
        Ext.onReady(function(){            
            wm.signal = new wm.Signal();
            wm.signal.connect();
        });
    </script>
</html>